using Framework.Core.Startup;
using Framework.SqlSugar.Test;

//var builder = WebApplication.CreateBuilder(args);

//// Add services to the container.
//builder.Services.AddSingleton(new AppSettings(builder.Configuration));
//builder.Services.AddControllers();
//builder.Services.AddMapster();
//builder.Services.AddSqlSugar();


//var app = builder.Build();

//// Configure the HTTP request pipeline.

//app.UseHttpsRedirection();

//app.UseAuthorization();

//app.MapControllers();

//app.Run();

try
{
	await StartupApplication.RunAsync<RunAppStartup>(args);
}
catch (Exception ex)
{
	throw;
}
finally
{

}